<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/archives/files" aria-expanded="false">文件管理 </a></li>
                        <li class="active"><a href="/app/core/archives/files?view=create" aria-expanded="true">新建文件</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding-top: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12">
                                <table class="table table-hover table-striped table-bordered">
                                    <tr>
                                        <td width="20%">${i18n('system.sortNo')}：</td>
                                        <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo"
                                                               id="sortNo" class="form-control" maxlength="10"></td>
                                        <td width="20%">文件号：</td>
                                        <td width="30%"><input placeholder="文件号" type="text" name="fileCode" id="fileCode" maxlength="100" class="form-control">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">文件标题：</td>
                                        <td width="30%"><input type="text" class="form-control" id="title" name="title" maxlength="100" placeholder="文件标题"></td>
                                        <td width="20%">发文单位：</td>
                                        <td width="30%"><input type="text" class="form-control" id="sendOrg" name="sendOrg" maxlength="100" placeholder="发文单位"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">文件主题词：</td>
                                        <td width="30%"><input type="text" class="form-control" id="subject" name="subject" maxlength="100" placeholder="文件主题词"></td>
                                        <td width="20%">副标题：</td>
                                        <td width="30%"><input type="text" class="form-control" id="subheading" name="subheading" maxlength="100" placeholder="副标题"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">文件分类：</td>
                                        <td width="30%"><select id="fileType" name="fileType" class="form-control"></select></td>
                                        <td width="20%">密级：</td>
                                        <td width="30%"><select id="secretLevel" name="secretLevel" class="form-control">
                                            <option value="1">内部</option>
                                            <option value="2">秘密</option>
                                            <option value="3">机密</option>
                                            <option value="4">绝密</option>
                                        </select></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">发文日期：</td>
                                        <td width="30%"><input type="text" class="form-control" id="sendTime" name="sendTime" placeholder="发文日期" readonly="readonly"></td>
                                        <td width="20%">所属案卷：</td>
                                        <td width="30%"><select id="volumeId" name="volumeId" class="form-control"></select></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">文件页码：</td>
                                        <td width="30%"><input type="number" class="form-control" id="pageTotal" name="pageTotal" placeholder="文件页码"></td>
                                        <td width="20%">打印页码：</td>
                                        <td width="30%"><input type="number" class="form-control" id="printTotal" name="printTotal" placeholder="打印页码"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">备注：</td>
                                        <td width="30%" colspan="3">
                                            <textarea id="remark" name="remark" class="form-control" rows="5"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">相关附件：</td>
                                        <td width="30%" colspan="3">
                                            <div id="show_archivesattach"></div>
                                            <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('archives','archivesattach');" hidefocus="true" size="1" id="archivesattach"
                                                                                                                      name="newsattach" class="addfile" multiple="multiple"></a>
                                            <a class="addfile" style="width: 200px;" href="#" op_id="archivesattach" onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">是否需要审批：</td>
                                        <td width="30%">
                                            <div class="control-group" style="padding-top: 5px;">
                                                <label>
                                                    <input type="radio" class="colored-danger" value="0" name="isaudit"> <span class="text">需要审批</span>
                                                </label>
                                                <label>
                                                    <input type="radio" class="colored-danger" value="1" name="isaudit"> <span class="text">无需审批</span>
                                                </label>
                                            </div>
                                        </td>
                                        <td width="20%">附件权限：</td>
                                        <td width="30%">
                                            <div class="control-group" style="padding-top: 5px;">
                                                <label> <input type="radio" class="colored-danger" value="1" name="attachPriv" checked="checked"> <span class="text">在线阅读</span>
                                                </label> <label> <input type="radio" class="colored-danger" value="2" name="attachPriv"> <span class="text">允许打印</span>
                                            </label> <label> <input type="radio" class="colored-danger" value="3" name="attachPriv"> <span class="text">允许下载</span>
                                            </label>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4" align="center">
                                            <a href="javascript:void(0);" class="btn btn-primary js-add-save">${i18n('system.create')}</a>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/archives/file.js"></script>
</body>
</html>
